list widgets: Simplify the constructors
authorMatthias Clasen <mclasen@redhat.com>
Tue, 1 Sep 2020 16:24:06 +0000 (12:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 1 Sep 2020 16:24:06 +0000 (12:24 -0400)
commitb628338db3e0bb4c906424294e4e988d45ed26f3
treec1f5c407a2ff107c2fc43fe33d74b75d74a2bc2e
parent7051fdee5da136c5c779bf8c1d9f1b3369eb30fb
list widgets: Simplify the constructors

Now that both arguments to the _new_with_factory() constructors
are nullable, there's no good reason to keep a separate _new()
around. Just make gtk_list_view_new() and gtk_grid_view_new()
take both a model and a factory.
16 files changed:
demos/gtk-demo/listview_applauncher.c
demos/gtk-demo/listview_clocks.c
demos/gtk-demo/listview_colors.c
demos/gtk-demo/listview_weather.c
demos/gtk-demo/listview_words.c
docs/reference/gtk/gtk4-sections.txt
gtk/gtkcolumnview.c
gtk/gtkcustompaperunixdialog.c
gtk/gtkgridview.c
gtk/gtkgridview.h
gtk/gtklistview.c
gtk/gtklistview.h
tests/testcolumnview.c
tests/testlistdnd.c
tests/testlistview-animating.c
tests/testlistview.c